package com.jy.advertising;

import com.jy.Test.service.TestService;
import com.jy.entity.Job;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author Xiexingxie
 * @date 2022/11/11 上午 08:51
 */

@RestController
public class TestController {

    @Autowired
    private TestService service;

    @RequestMapping("/test")
    public String test(int id){

        Job job = service.selectById(id);

        return "hhhh";
    }

}
